package visualizer.google;

import java.util.Map;

import processing.core.PApplet;
import visualizer.google.concrete.GlobalAnalyzer;

public class Test extends PApplet {
	public void draw() {
		noLoop();
//		System.out.println(
//			new GoogleServiceFactory(new IpAddressRetriever(this))
//				.create()
//				.execute("paris hilton")
//				.getEstimatedResultCount()
//		);
		
		GoogleServiceFactory services = new GoogleServiceFactory(new IpAddressRetriever(this)); 
		new GlobalAnalyzer(services.create()).getEstimatedHitsPerCountry("timo");
		System.out.println("done");
	}
}
